package com.example.android_entrainement;

/**
 * Created by jim on 20/07/13.
 */
public class CardEntity {

//region Properties


    private int id;
    public int getid() {
        return id;
    }
    public void setid(int id) {
        this.id = id;
    }

    private String name;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    private String rarity;
    public String getRarity() {
        return rarity;
    }
    public void setRarity(String rarity) {
        this.rarity = rarity;
    }

    private String capacity;
    public String getCapacity() {
        return capacity;
    }
    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }

    private String imageResPath;
    public String getImageResPath() {
        return imageResPath;
    }
    public void setImageResPath(String imageResPath) {
        this.imageResPath = imageResPath;
    }
//endregion

//region Constructor
    public CardEntity() {
    }
    public CardEntity(String name,String rarity,String capacity,String imageResPath){
        this.name = name;
        this.rarity = rarity;
        this.capacity = capacity;
        this.imageResPath = imageResPath;
    }
//endregion

    public String toString(){
        return "ID : "+id+"\nname : "+name+"\nrarity : "+rarity+"\ncapacity : "+capacity;
    }


}